package com.yoona.sms;

import com.yoona.common.response.BaseResponse;

/**
 * @Email: m15602498163@163.com
 * @Author: yoonada
 * @Date: 2020/9/21
 * @Time: 8:50 下午
 * @Msg:
 */
public interface SmsService {

    /**
     * 传入mobilePhoneNumber,用来发送验证码
     * @param mobilePhoneNumber
     * @return
     *
     */
    BaseResponse<Object> sendMessage(String mobilePhoneNumber);


    /**
     * 校验用户的验证码
     * @param mobilePhoneNumber
     * @param verificationCode
     * @return
     */

    BaseResponse<Object> checkVerificationCode(String mobilePhoneNumber, String verificationCode);


}